using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;

namespace Xioa_UI.Controls;

public class XioaDropDown : ContentControl
{

    #region 

    public static readonly DependencyProperty PopupHeaderTextProperty =
        ElementBase.Property<XioaDropDown, string>("PopupHeaderTextProperty", "");
    public string? PopupHeaderText
    {
        get => (string)GetValue(PopupHeaderTextProperty);
        set => SetValue(PopupHeaderTextProperty, value);
    }


    public static readonly DependencyProperty ContentHeightProperty =
       ElementBase.Property<XioaDropDown, double>("ContentHeightProperty", 200);
    public double? ContentHeight
    {
        get => (double)GetValue(ContentHeightProperty);
        set => SetValue(ContentHeightProperty, value);
    }

    public static readonly DependencyProperty ContentWidthProperty =
       ElementBase.Property<XioaDropDown, double>("ContentWidthProperty", 100);
    public double? ContentWidth
    {
        get => (double)GetValue(ContentWidthProperty);
        set => SetValue(ContentWidthProperty, value);
    }

    public static readonly DependencyProperty ContentPlacementModeProperty =
       ElementBase.Property<XioaDropDown, PlacementMode>("ContentPlacementModeProperty", PlacementMode.Bottom);
    public PlacementMode ContentPlacementMode
    {
        get => (PlacementMode)GetValue(ContentPlacementModeProperty);
        set => SetValue(ContentPlacementModeProperty, value);
    }


    #endregion


    public XioaDropDown()
    {
        
    }
   
}